package com.leoman.spinningmachine.bean;

/**
 * Created by Administrator on 2018-05-23.
 */

public class User {
    private long createDate;
    private String deptName;
    private Object deptNo;
    private String headImage;
    private int id;
    private Object identity;
    private Object joinDate;
    private Manager manager;
    private String nickname;
    private String realname;

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    private Object password;
    private String phone;
    private String phoneMac;
    private Object salt;
    private int sex;
    private int status;
    private String token;
    private long updateDate;
    private int workId;
    private int cameraq;    //1有权限 2是没权限

    public int getCameraq() {
        return cameraq;
    }

    public void setCameraq(int cameraq) {
        this.cameraq = cameraq;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public class Manager {
        private int id;
        private String nickname;
        private String headImage;
        private String realName;

        public String getRealName() {
            return realName;
        }

        public void setRealName(String realName) {
            this.realName = realName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getHeadImage() {
            return headImage;
        }

        public void setHeadImage(String headImage) {
            this.headImage = headImage;
        }
    }

    public Manager getManager() {
        return manager;
    }

    public void setManager(Manager manager) {
        this.manager = manager;
    }

    public long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(long createDate) {
        this.createDate = createDate;
    }

    public Object getDeptNo() {
        return deptNo;
    }

        public void setDeptNo(Object deptNo) {
            this.deptNo = deptNo;
        }

        public String getHeadImage() {
            return headImage;
        }

        public void setHeadImage(String headImage) {
            this.headImage = headImage;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Object getIdentity() {
            return identity;
        }

        public void setIdentity(Object identity) {
            this.identity = identity;
        }

        public Object getJoinDate() {
            return joinDate;
        }

        public void setJoinDate(Object joinDate) {
            this.joinDate = joinDate;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public Object getPassword() {
            return password;
        }

        public void setPassword(Object password) {
            this.password = password;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPhoneMac() {
            return phoneMac;
        }

        public void setPhoneMac(String phoneMac) {
            this.phoneMac = phoneMac;
        }

        public Object getSalt() {
            return salt;
        }

        public void setSalt(Object salt) {
            this.salt = salt;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public long getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(long updateDate) {
            this.updateDate = updateDate;
        }

        public int getWorkId() {
            return workId;
        }

        public void setWorkId(int workId) {
            this.workId = workId;
        }
}
